package dto;

import java.io.Serializable;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class CategoryDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int id;
	private String name;
	private DomainDTO domain;
	private List<QuestionDTO> questions;
	private List<TemplateCategoryDTO> templateCategory;
	
	public CategoryDTO(){}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public DomainDTO getDomain() {
		return domain;
	}

	public void setDomain(DomainDTO domain) {
		this.domain = domain;
	}

	public List<QuestionDTO> getQuestions() {
		return questions;
	}

	public void setQuestions(List<QuestionDTO> questions) {
		this.questions = questions;
	}

	public List<TemplateCategoryDTO> getTemplateCategory() {
		return templateCategory;
	}

	public void setTemplateCategory(List<TemplateCategoryDTO> templateCategory) {
		this.templateCategory = templateCategory;
	}
	
}
